package cn.wolfcode.domain;

import cn.wolfcode.Enum.ActivityEnums;
import lombok.Data;

@Data
public class Activity {
    /** */
    private Long id;

    /** 主题*/
    private String title;

    /** 类型(单选0/多选1/ 等等)*/
    private Integer type;

    /** 状态(1投票中/0停止投票)*/
    private Boolean status;


    public String getTypeName(){
        return ActivityEnums.findName(type);
    }
    /*投票总数*/
    private Integer totalNum;
}